The first code file "simulation" is written and run by matlab2018b
The file simulates the figures in Appendix B, it includes three sections.
You may run each section separately. 

The first section simulates the Figure A.1, 
The second section simulates the Figure A.2, 
The third section simulates Figure A.3 

The figure generated by Matlab looks a little different with that in the Appendix, it is because I draw the figure by PStricks in the appendix.
The appendix is also uploaded in the dataset serve. 

The log file is stored as "cpresult"

%%%%%%%%%%%%%%%%%%%%%%
Since the matlab figures are not read-friendly, to let the audience understand the theoretical results better,
I rescale the figures in the published online appendix.
The second file "Figures in Appendix" include the latex code to precisely replicate the figures in Appendix B. Please use any latex editor such as overleaf.com to run the code.
This code needs the PStricks package in latex. To replicate the figure, you need to use LaTex as the compiler, not the PdfLatex.

